package com.bookcode.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: 刘浩然
 * @Date: 2020/10/22 0:34
 * 学生选课，添加课程，
 * 将来从这个表中拿到数据减去签到的学生就是缺勤的学生
 */
@Table(name = "add_Class")
@Entity
@Data
public class AddClass extends BaseEntity {
    @Column(name = "student_id")
    private String studentId;//学生id
    @Column(name = "course_id")
    private String courseId;//课程id
    @Column(name = "teacher_id")
    private String teacherId;//老师id
    @Column(name = "course_name")
    private String course_name;//课程名字
    @Column(name = "student_name")
    private String name;//姓名
    @Column(name = "sign_time")
    private Date time;
}
